<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::ml::Boost Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d8/df1/namespacecv_1_1ml.html">ml</a></li><li class="navelem"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html">Boost</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="../../d2/d36/classcv_1_1ml_1_1Boost-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::ml::Boost Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../dd/ded/group__ml.html">Machine Learning</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>Boosted tree classifier derived from <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html" title="The class represents a single decision tree or a collection of decision trees. ">DTrees</a>.  
 <a href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#details">More...</a></p>
<p><code>#include &lt;opencv2/ml.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::ml::Boost:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../d6/d7a/classcv_1_1ml_1_1Boost.png" usemap="#cv::ml::Boost_map"/>
  <map id="cv::ml::Boost_map" name="cv::ml::Boost_map">
<area alt="cv::ml::DTrees" coords="0,112,106,136" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html" shape="rect" title="The class represents a single decision tree or a collection of decision trees. "/>
<area alt="cv::ml::StatModel" coords="0,56,106,80" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html" shape="rect" title="Base class for statistical models in OpenCV ML. "/>
<area alt="cv::Algorithm" coords="0,0,106,24" href="../../d3/d46/classcv_1_1Algorithm.html" shape="rect" title="This is a base class for all more or less complex algorithms in OpenCV. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a22a5db4ceb750ca68782ddb32f44562f"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562f">Types</a> { <br/>
  <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562fab727f32adfac249a79ad471e3bc34fb9">DISCRETE</a> =0, 
<br/>
  <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562fa0643d2e20c5cb3a4120349e069db7232">REAL</a> =1, 
<br/>
  <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562fafe61aed9caa42c3cc53f3f6f7a09da48">LOGIT</a> =2, 
<br/>
  <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562fa1b68f695c1686d00d55c2eb892dc6f6b">GENTLE</a> =3
<br/>
 }</td></tr>
<tr class="separator:a22a5db4ceb750ca68782ddb32f44562f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_types_classcv_1_1ml_1_1DTrees"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classcv_1_1ml_1_1DTrees')"><img alt="-" src="../../closed.png"/> Public Types inherited from <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html">cv::ml::DTrees</a></td></tr>
<tr class="memitem:a7afa5cd2289fb88989c0ab1b8b5d8ac2 inherit pub_types_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a7afa5cd2289fb88989c0ab1b8b5d8ac2">Flags</a> { <br/>
  <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a7afa5cd2289fb88989c0ab1b8b5d8ac2af0192db97208b67118f642530da47332">PREDICT_AUTO</a> =0, 
<br/>
  <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a7afa5cd2289fb88989c0ab1b8b5d8ac2a1d3f6687120ea6b337f6a91234529a13">PREDICT_SUM</a> =(1&lt;&lt;8), 
<br/>
  <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a7afa5cd2289fb88989c0ab1b8b5d8ac2ad753bae4672b471203e418d820c00e85">PREDICT_MAX_VOTE</a> =(2&lt;&lt;8), 
<br/>
  <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a7afa5cd2289fb88989c0ab1b8b5d8ac2a59a0cd54206e4092bc2bff1ce50c8afa">PREDICT_MASK</a> =(3&lt;&lt;8)
<br/>
 }</td></tr>
<tr class="separator:a7afa5cd2289fb88989c0ab1b8b5d8ac2 inherit pub_types_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_types_classcv_1_1ml_1_1StatModel"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classcv_1_1ml_1_1StatModel')"><img alt="-" src="../../closed.png"/> Public Types inherited from <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html">cv::ml::StatModel</a></td></tr>
<tr class="memitem:af1ea864e1c19796e6264ebb3950c0b9a inherit pub_types_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af1ea864e1c19796e6264ebb3950c0b9a">Flags</a> { <br/>
  <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af1ea864e1c19796e6264ebb3950c0b9aa397fde9eaadd4efb07af6a7fbacea6cd">UPDATE_MODEL</a> = 1, 
<br/>
  <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af1ea864e1c19796e6264ebb3950c0b9aa639a8ea2b61c2bf03f87cf4c4a5bd824">RAW_OUTPUT</a> =1, 
<br/>
  <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af1ea864e1c19796e6264ebb3950c0b9aae860ef9fda481bb6730e8794009c99b5">COMPRESSED_INPUT</a> =2, 
<br/>
  <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af1ea864e1c19796e6264ebb3950c0b9aa0cdfa2b3b9c5947d9a80bcca7eac485f">PREPROCESSED_INPUT</a> =4
<br/>
 }</td></tr>
<tr class="separator:af1ea864e1c19796e6264ebb3950c0b9a inherit pub_types_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7782bc38c049f0807a8813ba31fbce2f"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a7782bc38c049f0807a8813ba31fbce2f">getBoostType</a> () const =0</td></tr>
<tr class="separator:a7782bc38c049f0807a8813ba31fbce2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a747bae221268f2f8b71fa749584165d5"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a747bae221268f2f8b71fa749584165d5">getWeakCount</a> () const =0</td></tr>
<tr class="separator:a747bae221268f2f8b71fa749584165d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4226ed6a4195298e65c1e7624734636d"><td align="right" class="memItemLeft" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a4226ed6a4195298e65c1e7624734636d">getWeightTrimRate</a> () const =0</td></tr>
<tr class="separator:a4226ed6a4195298e65c1e7624734636d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3506f61268d7845b1114c0d75f51b724"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a3506f61268d7845b1114c0d75f51b724">setBoostType</a> (int val)=0</td></tr>
<tr class="separator:a3506f61268d7845b1114c0d75f51b724"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53c6a2b7dbe717872b32c1659ce9b032"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a53c6a2b7dbe717872b32c1659ce9b032">setWeakCount</a> (int val)=0</td></tr>
<tr class="separator:a53c6a2b7dbe717872b32c1659ce9b032"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5880dc1bd70c5413bf5feb19ae03322"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#aa5880dc1bd70c5413bf5feb19ae03322">setWeightTrimRate</a> (double val)=0</td></tr>
<tr class="separator:aa5880dc1bd70c5413bf5feb19ae03322"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1ml_1_1DTrees"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1ml_1_1DTrees')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html">cv::ml::DTrees</a></td></tr>
<tr class="memitem:abfced3f2d3bf13b39c94e4a3fecc4309 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#abfced3f2d3bf13b39c94e4a3fecc4309">getCVFolds</a> () const =0</td></tr>
<tr class="separator:abfced3f2d3bf13b39c94e4a3fecc4309 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7dea805ae861c26fdd0b79eb34b3c24 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ad7dea805ae861c26fdd0b79eb34b3c24">getMaxCategories</a> () const =0</td></tr>
<tr class="separator:ad7dea805ae861c26fdd0b79eb34b3c24 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac41b80cb9e2ea0d477425052f9692104 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ac41b80cb9e2ea0d477425052f9692104">getMaxDepth</a> () const =0</td></tr>
<tr class="separator:ac41b80cb9e2ea0d477425052f9692104 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a277c2ccecfa7fc65d1d474b56450e126 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a277c2ccecfa7fc65d1d474b56450e126">getMinSampleCount</a> () const =0</td></tr>
<tr class="separator:a277c2ccecfa7fc65d1d474b56450e126 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4ffa17349a0094c5cded6e92042ffc2 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual const std::vector&lt; <a class="el" href="../../d4/d7d/classcv_1_1ml_1_1DTrees_1_1Node.html">Node</a> &gt; &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ae4ffa17349a0094c5cded6e92042ffc2">getNodes</a> () const =0</td></tr>
<tr class="memdesc:ae4ffa17349a0094c5cded6e92042ffc2 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">Returns all the nodes.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ae4ffa17349a0094c5cded6e92042ffc2">More...</a><br/></td></tr>
<tr class="separator:ae4ffa17349a0094c5cded6e92042ffc2 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a152badc1f5a4963ef9d43d7e7395bd3b inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a152badc1f5a4963ef9d43d7e7395bd3b">getPriors</a> () const =0</td></tr>
<tr class="memdesc:a152badc1f5a4963ef9d43d7e7395bd3b inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">The array of a priori class probabilities, sorted by the class label value.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a152badc1f5a4963ef9d43d7e7395bd3b">More...</a><br/></td></tr>
<tr class="separator:a152badc1f5a4963ef9d43d7e7395bd3b inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7ec8342deddac53ebbb92145c992db7 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ab7ec8342deddac53ebbb92145c992db7">getRegressionAccuracy</a> () const =0</td></tr>
<tr class="separator:ab7ec8342deddac53ebbb92145c992db7 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af99b15e5769c614bb1f1e16330b6fa4f inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual const std::vector&lt; int &gt; &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#af99b15e5769c614bb1f1e16330b6fa4f">getRoots</a> () const =0</td></tr>
<tr class="memdesc:af99b15e5769c614bb1f1e16330b6fa4f inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">Returns indices of root nodes.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#af99b15e5769c614bb1f1e16330b6fa4f">More...</a><br/></td></tr>
<tr class="separator:af99b15e5769c614bb1f1e16330b6fa4f inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a23bd587736aa6c658966025cfff3f4a3 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual const std::vector&lt; <a class="el" href="../../d9/d37/classcv_1_1ml_1_1DTrees_1_1Split.html">Split</a> &gt; &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a23bd587736aa6c658966025cfff3f4a3">getSplits</a> () const =0</td></tr>
<tr class="memdesc:a23bd587736aa6c658966025cfff3f4a3 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">Returns all the splits.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a23bd587736aa6c658966025cfff3f4a3">More...</a><br/></td></tr>
<tr class="separator:a23bd587736aa6c658966025cfff3f4a3 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab4edebdd513c1937dfa8f444931f6a7a inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual const std::vector&lt; int &gt; &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ab4edebdd513c1937dfa8f444931f6a7a">getSubsets</a> () const =0</td></tr>
<tr class="memdesc:ab4edebdd513c1937dfa8f444931f6a7a inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">Returns all the bitsets for categorical splits.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ab4edebdd513c1937dfa8f444931f6a7a">More...</a><br/></td></tr>
<tr class="separator:ab4edebdd513c1937dfa8f444931f6a7a inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a905b23962a6c393a87b79bcc086cc6c2 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a905b23962a6c393a87b79bcc086cc6c2">getTruncatePrunedTree</a> () const =0</td></tr>
<tr class="separator:a905b23962a6c393a87b79bcc086cc6c2 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d8bd6934507c56905f93b5b8c7d1584 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a5d8bd6934507c56905f93b5b8c7d1584">getUse1SERule</a> () const =0</td></tr>
<tr class="separator:a5d8bd6934507c56905f93b5b8c7d1584 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a566708bb8841067f146afae81b6219f4 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a566708bb8841067f146afae81b6219f4">getUseSurrogates</a> () const =0</td></tr>
<tr class="separator:a566708bb8841067f146afae81b6219f4 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a082ed33b1dd2101152dd33bdc2847404 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a082ed33b1dd2101152dd33bdc2847404">setCVFolds</a> (int val)=0</td></tr>
<tr class="separator:a082ed33b1dd2101152dd33bdc2847404 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d1571c10e5d72f8df7f102b916d704f inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a6d1571c10e5d72f8df7f102b916d704f">setMaxCategories</a> (int val)=0</td></tr>
<tr class="separator:a6d1571c10e5d72f8df7f102b916d704f inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2192b5631da2d30eaaebdb12015f477 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#ab2192b5631da2d30eaaebdb12015f477">setMaxDepth</a> (int val)=0</td></tr>
<tr class="separator:ab2192b5631da2d30eaaebdb12015f477 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe34fc6e9a172b9e334abcca94e28fb6 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#abe34fc6e9a172b9e334abcca94e28fb6">setMinSampleCount</a> (int val)=0</td></tr>
<tr class="separator:abe34fc6e9a172b9e334abcca94e28fb6 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66756433f31db77a5511fc3f85403bd9 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a66756433f31db77a5511fc3f85403bd9">setPriors</a> (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &amp;val)=0</td></tr>
<tr class="memdesc:a66756433f31db77a5511fc3f85403bd9 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">The array of a priori class probabilities, sorted by the class label value.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a66756433f31db77a5511fc3f85403bd9">More...</a><br/></td></tr>
<tr class="separator:a66756433f31db77a5511fc3f85403bd9 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a936a3b56ccc5684f279dfd76bbea0247 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a936a3b56ccc5684f279dfd76bbea0247">setRegressionAccuracy</a> (float val)=0</td></tr>
<tr class="separator:a936a3b56ccc5684f279dfd76bbea0247 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f2663a08abc3e872bd3f3a53a84615c inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a6f2663a08abc3e872bd3f3a53a84615c">setTruncatePrunedTree</a> (bool val)=0</td></tr>
<tr class="separator:a6f2663a08abc3e872bd3f3a53a84615c inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a08089831f9a07e0ce6a5e5faccdf31f6 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a08089831f9a07e0ce6a5e5faccdf31f6">setUse1SERule</a> (bool val)=0</td></tr>
<tr class="separator:a08089831f9a07e0ce6a5e5faccdf31f6 inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a33d8fec217d423609a9f29a0a787111c inherit pub_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a33d8fec217d423609a9f29a0a787111c">setUseSurrogates</a> (bool val)=0</td></tr>
<tr class="separator:a33d8fec217d423609a9f29a0a787111c inherit pub_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1ml_1_1StatModel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1ml_1_1StatModel')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html">cv::ml::StatModel</a></td></tr>
<tr class="memitem:aa6a71b1ee5b7fa0b07b55e77106cda13 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#aa6a71b1ee5b7fa0b07b55e77106cda13">calcError</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../dc/d32/classcv_1_1ml_1_1TrainData.html">TrainData</a> &gt; &amp;data, bool test, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> resp) const</td></tr>
<tr class="memdesc:aa6a71b1ee5b7fa0b07b55e77106cda13 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Computes error on the training or test dataset.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#aa6a71b1ee5b7fa0b07b55e77106cda13">More...</a><br/></td></tr>
<tr class="separator:aa6a71b1ee5b7fa0b07b55e77106cda13 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80afceed1710367d32d6232374162b97 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a80afceed1710367d32d6232374162b97">empty</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a80afceed1710367d32d6232374162b97 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html" title="This is a base class for all more or less complex algorithms in OpenCV. ">Algorithm</a> is empty (e.g. in the very beginning or after unsuccessful read.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a80afceed1710367d32d6232374162b97">More...</a><br/></td></tr>
<tr class="separator:a80afceed1710367d32d6232374162b97 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a783b92c436c7a2978e2d4bbb3cfb6e0c inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a783b92c436c7a2978e2d4bbb3cfb6e0c">getVarCount</a> () const =0</td></tr>
<tr class="memdesc:a783b92c436c7a2978e2d4bbb3cfb6e0c inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of variables in training samples.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a783b92c436c7a2978e2d4bbb3cfb6e0c">More...</a><br/></td></tr>
<tr class="separator:a783b92c436c7a2978e2d4bbb3cfb6e0c inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1121a835feedefdcdb8624966567aec6 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a1121a835feedefdcdb8624966567aec6">isClassifier</a> () const =0</td></tr>
<tr class="memdesc:a1121a835feedefdcdb8624966567aec6 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the model is classifier.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a1121a835feedefdcdb8624966567aec6">More...</a><br/></td></tr>
<tr class="separator:a1121a835feedefdcdb8624966567aec6 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab380b59eb30b50254ef1b804774c4d8 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#aab380b59eb30b50254ef1b804774c4d8">isTrained</a> () const =0</td></tr>
<tr class="memdesc:aab380b59eb30b50254ef1b804774c4d8 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the model is trained.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#aab380b59eb30b50254ef1b804774c4d8">More...</a><br/></td></tr>
<tr class="separator:aab380b59eb30b50254ef1b804774c4d8 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a7e49e1febd10392452727498771bc1 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a1a7e49e1febd10392452727498771bc1">predict</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> samples, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> results=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), int flags=0) const =0</td></tr>
<tr class="memdesc:a1a7e49e1febd10392452727498771bc1 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Predicts response(s) for the provided sample(s)  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#a1a7e49e1febd10392452727498771bc1">More...</a><br/></td></tr>
<tr class="separator:a1a7e49e1febd10392452727498771bc1 inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af96a0e04f1677a835cc25263c7db3c0c inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af96a0e04f1677a835cc25263c7db3c0c">train</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../dc/d32/classcv_1_1ml_1_1TrainData.html">TrainData</a> &gt; &amp;trainData, int flags=0)</td></tr>
<tr class="memdesc:af96a0e04f1677a835cc25263c7db3c0c inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Trains the statistical model.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af96a0e04f1677a835cc25263c7db3c0c">More...</a><br/></td></tr>
<tr class="separator:af96a0e04f1677a835cc25263c7db3c0c inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb25a75f438864fb25af182fb4b1b96f inherit pub_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#aeb25a75f438864fb25af182fb4b1b96f">train</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> samples, int layout, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> responses)</td></tr>
<tr class="memdesc:aeb25a75f438864fb25af182fb4b1b96f inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Trains the statistical model.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#aeb25a75f438864fb25af182fb4b1b96f">More...</a><br/></td></tr>
<tr class="separator:aeb25a75f438864fb25af182fb4b1b96f inherit pub_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a827c8b2781ed17574805f373e6054ff1">Algorithm</a> ()</td></tr>
<tr class="separator:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a8ae826127fa0f1f8d10a24841bd376f8">~Algorithm</a> ()</td></tr>
<tr class="separator:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">clear</a> ()</td></tr>
<tr class="memdesc:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Clears the algorithm state.  <a href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">More...</a><br/></td></tr>
<tr class="separator:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a286fc82744ccab3d248aca44524266a9">getDefaultName</a> () const</td></tr>
<tr class="separator:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#aef2ad3f4145bd6e8c3664eb1c4b5e1e6">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm parameters from a file storage.  <a href="../../d3/d46/classcv_1_1Algorithm.html#aef2ad3f4145bd6e8c3664eb1c4b5e1e6">More...</a><br/></td></tr>
<tr class="separator:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a0a880744bc4e3f45711444571df47d67">save</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename) const</td></tr>
<tr class="separator:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a1f8ad7b8add515077367fb9949a174d2">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="memdesc:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Stores algorithm parameters in a file storage.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a1f8ad7b8add515077367fb9949a174d2">More...</a><br/></td></tr>
<tr class="separator:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &gt; &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()) const</td></tr>
<tr class="memdesc:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">More...</a><br/></td></tr>
<tr class="separator:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae06452dcc8245afa4b261443d10b1d5c"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html">Boost</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#ae06452dcc8245afa4b261443d10b1d5c">create</a> ()</td></tr>
<tr class="separator:ae06452dcc8245afa4b261443d10b1d5c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ff5b7d19b3d715501b3ce4e1f0563e1"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html">Boost</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a3ff5b7d19b3d715501b3ce4e1f0563e1">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filepath, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;nodeName=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a3ff5b7d19b3d715501b3ce4e1f0563e1"><td class="mdescLeft"> </td><td class="mdescRight">Loads and creates a serialized <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html" title="Boosted tree classifier derived from DTrees. ">Boost</a> from a file.  <a href="#a3ff5b7d19b3d715501b3ce4e1f0563e1">More...</a><br/></td></tr>
<tr class="separator:a3ff5b7d19b3d715501b3ce4e1f0563e1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1ml_1_1DTrees"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1ml_1_1DTrees')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html">cv::ml::DTrees</a></td></tr>
<tr class="memitem:aa0ae71ed85f63d2ea809402c0f19d602 inherit pub_static_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html">DTrees</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#aa0ae71ed85f63d2ea809402c0f19d602">create</a> ()</td></tr>
<tr class="memdesc:aa0ae71ed85f63d2ea809402c0f19d602 inherit pub_static_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">Creates the empty model.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#aa0ae71ed85f63d2ea809402c0f19d602">More...</a><br/></td></tr>
<tr class="separator:aa0ae71ed85f63d2ea809402c0f19d602 inherit pub_static_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a13c065058afce14367ca44739fb4df inherit pub_static_methods_classcv_1_1ml_1_1DTrees"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html">DTrees</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a9a13c065058afce14367ca44739fb4df">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filepath, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;nodeName=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a9a13c065058afce14367ca44739fb4df inherit pub_static_methods_classcv_1_1ml_1_1DTrees"><td class="mdescLeft"> </td><td class="mdescRight">Loads and creates a serialized <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html" title="The class represents a single decision tree or a collection of decision trees. ">DTrees</a> from a file.  <a href="../../d8/d89/classcv_1_1ml_1_1DTrees.html#a9a13c065058afce14367ca44739fb4df">More...</a><br/></td></tr>
<tr class="separator:a9a13c065058afce14367ca44739fb4df inherit pub_static_methods_classcv_1_1ml_1_1DTrees"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1ml_1_1StatModel"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1ml_1_1StatModel')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html">cv::ml::StatModel</a></td></tr>
<tr class="memitem:af93a21ea5866cd305936a03742f69af8 inherit pub_static_methods_classcv_1_1ml_1_1StatModel"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:af93a21ea5866cd305936a03742f69af8 inherit pub_static_methods_classcv_1_1ml_1_1StatModel"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af93a21ea5866cd305936a03742f69af8">train</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../dc/d32/classcv_1_1ml_1_1TrainData.html">TrainData</a> &gt; &amp;data, int flags=0)</td></tr>
<tr class="memdesc:af93a21ea5866cd305936a03742f69af8 inherit pub_static_methods_classcv_1_1ml_1_1StatModel"><td class="mdescLeft"> </td><td class="mdescRight">Create and train model with default parameters.  <a href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af93a21ea5866cd305936a03742f69af8">More...</a><br/></td></tr>
<tr class="separator:af93a21ea5866cd305936a03742f69af8 inherit pub_static_methods_classcv_1_1ml_1_1StatModel"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from the file.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">More...</a><br/></td></tr>
<tr class="separator:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">loadFromString</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;strModel, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from a String.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">More...</a><br/></td></tr>
<tr class="separator:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm from the file node.  <a href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">More...</a><br/></td></tr>
<tr class="separator:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Protected Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a68eeca71617474ad3d4561786f0289d2">writeFormat</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="separator:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Boosted tree classifier derived from <a class="el" href="../../d8/d89/classcv_1_1ml_1_1DTrees.html" title="The class represents a single decision tree or a collection of decision trees. ">DTrees</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/dd6/ml_intro.html#ml_intro_boost">Boosting </a> </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a22a5db4ceb750ca68782ddb32f44562f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22a5db4ceb750ca68782ddb32f44562f">◆ </a></span>Types</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562f">cv::ml::Boost::Types</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Boosting type. Gentle AdaBoost and Real AdaBoost are often the preferable choices. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a22a5db4ceb750ca68782ddb32f44562fab727f32adfac249a79ad471e3bc34fb9"></a>DISCRETE </td><td class="fielddoc"><p>Discrete AdaBoost. </p>
</td></tr>
<tr><td class="fieldname"><a id="a22a5db4ceb750ca68782ddb32f44562fa0643d2e20c5cb3a4120349e069db7232"></a>REAL </td><td class="fielddoc"><p>Real AdaBoost. It is a technique that utilizes confidence-rated predictions and works well with categorical data. </p>
</td></tr>
<tr><td class="fieldname"><a id="a22a5db4ceb750ca68782ddb32f44562fafe61aed9caa42c3cc53f3f6f7a09da48"></a>LOGIT </td><td class="fielddoc"><p>LogitBoost. It can produce good regression fits. </p>
</td></tr>
<tr><td class="fieldname"><a id="a22a5db4ceb750ca68782ddb32f44562fa1b68f695c1686d00d55c2eb892dc6f6b"></a>GENTLE </td><td class="fielddoc"><p>Gentle AdaBoost. It puts less weight on outlier data points and for that reason is often good with regression data. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae06452dcc8245afa4b261443d10b1d5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae06452dcc8245afa4b261443d10b1d5c">◆ </a></span>create()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html">Boost</a>&gt; cv::ml::Boost::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ml.Boost_create(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Creates the empty model. Use <a class="el" href="../../db/d7d/classcv_1_1ml_1_1StatModel.html#af96a0e04f1677a835cc25263c7db3c0c" title="Trains the statistical model. ">StatModel::train</a> to train the model, <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b" title="Loads algorithm from the file. ">Algorithm::load</a>&lt;<a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html" title="Boosted tree classifier derived from DTrees. ">Boost</a>&gt;(filename) to load the pre-trained model. </p>
</div>
</div>
<a id="a7782bc38c049f0807a8813ba31fbce2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7782bc38c049f0807a8813ba31fbce2f">◆ </a></span>getBoostType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ml::Boost::getBoostType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ml_Boost.getBoostType(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Type of the boosting algorithm. See <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562f">Boost::Types</a>. Default value is <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a22a5db4ceb750ca68782ddb32f44562fa0643d2e20c5cb3a4120349e069db7232">Boost::REAL</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a3506f61268d7845b1114c0d75f51b724">setBoostType</a> </dd></dl>
</div>
</div>
<a id="a747bae221268f2f8b71fa749584165d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a747bae221268f2f8b71fa749584165d5">◆ </a></span>getWeakCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ml::Boost::getWeakCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ml_Boost.getWeakCount(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>The number of weak classifiers. Default value is 100. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a53c6a2b7dbe717872b32c1659ce9b032">setWeakCount</a> </dd></dl>
</div>
</div>
<a id="a4226ed6a4195298e65c1e7624734636d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4226ed6a4195298e65c1e7624734636d">◆ </a></span>getWeightTrimRate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual double cv::ml::Boost::getWeightTrimRate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ml_Boost.getWeightTrimRate(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>A threshold between 0 and 1 used to save computational time. Samples with summary weight \(\leq 1 - weight_trim_rate\) do not participate in the <em>next</em> iteration of training. Set this parameter to 0 to turn off this functionality. Default value is 0.95. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#aa5880dc1bd70c5413bf5feb19ae03322">setWeightTrimRate</a> </dd></dl>
</div>
</div>
<a id="a3ff5b7d19b3d715501b3ce4e1f0563e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ff5b7d19b3d715501b3ce4e1f0563e1">◆ </a></span>load()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html">Boost</a>&gt; cv::ml::Boost::load </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>filepath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>nodeName</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ml.Boost_load(</td><td class="paramname">filepath[, nodeName]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Loads and creates a serialized <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html" title="Boosted tree classifier derived from DTrees. ">Boost</a> from a file. </p>
<p>Use <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a0a880744bc4e3f45711444571df47d67">Boost::save</a> to serialize and store an RTree to disk. Load the <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html" title="Boosted tree classifier derived from DTrees. ">Boost</a> from this file again, by calling this function with the path to the file. Optionally specify the node for the file containing the classifier</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filepath</td><td>path to serialized <a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html" title="Boosted tree classifier derived from DTrees. ">Boost</a> </td></tr>
    <tr><td class="paramname">nodeName</td><td>name of node containing the classifier </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a3506f61268d7845b1114c0d75f51b724"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3506f61268d7845b1114c0d75f51b724">◆ </a></span>setBoostType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ml::Boost::setBoostType </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ml_Boost.setBoostType(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a7782bc38c049f0807a8813ba31fbce2f">getBoostType</a> </dd></dl>
</div>
</div>
<a id="a53c6a2b7dbe717872b32c1659ce9b032"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53c6a2b7dbe717872b32c1659ce9b032">◆ </a></span>setWeakCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ml::Boost::setWeakCount </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ml_Boost.setWeakCount(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a747bae221268f2f8b71fa749584165d5">getWeakCount</a> </dd></dl>
</div>
</div>
<a id="aa5880dc1bd70c5413bf5feb19ae03322"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5880dc1bd70c5413bf5feb19ae03322">◆ </a></span>setWeightTrimRate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ml::Boost::setWeightTrimRate </td>
          <td>(</td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ml_Boost.setWeightTrimRate(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d7a/classcv_1_1ml_1_1Boost.html#a4226ed6a4195298e65c1e7624734636d">getWeightTrimRate</a> </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/<a class="el" href="../../d3/d29/ml_8hpp.html">ml.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
